<!--
 * @Author: lihaogn
 * @Date: 2022-05-28 15:42:30
 * @LastEditTime: 2022-05-28 16:00:44
 * @LastEditor: lihaogn
 * @Description: 
 * @FilePath: \lix-admin-client-vue2\src\views\redirect\index.vue
-->
<script>
export default {
  name: 'redirect-comp',
  created() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },

  render: function(h) {
    return h() // avoid warning message
  }
}
</script>
